<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class OAuthSignatureMethod_HMAC_SHA1</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class OAuthSignatureMethod_HMAC_SHA1</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104]  where the Signature Base String is the text and the key is the concatenated values (each first  encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&amp;'  character (ASCII code 38) even if empty.</p>
<p class="description"><p><ul><li>Chapter 9.2 (&quot;HMAC-SHA1&quot;)</li></ul></p></p>
		<p class="notes">
			Located in <a class="field" href="_OAuth.php.html">/OAuth.php</a> (line <span class="field">115</span>)
		</p>
		
				
		<pre><a href="../default/OAuthSignatureMethod.html">OAuthSignatureMethod</a>
   |
   --OAuthSignatureMethod_HMAC_SHA1</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																				
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#build_signature" title="details" class="method-name">build_signature</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$request</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$consumer</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$token</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#get_name" title="details" class="method-name">get_name</a>
										()
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodbuild_signature" id="build_signature"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">build_signature</span> (line <span class="line-number">120</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			build_signature
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$request</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$consumer</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$token</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$request</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$consumer</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$token</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../default/OAuthSignatureMethod.html#methodbuild_signature">OAuthSignatureMethod::build_signature()</a></dt>
						<dd>Build up the signature  NOTE: The output of this function MUST NOT be urlencoded.</dd>
					</dl>
			
	</div>
<a name="methodget_name" id="get_name"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get_name</span> (line <span class="line-number">116</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			get_name
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../default/OAuthSignatureMethod.html#methodget_name">OAuthSignatureMethod::get_name()</a></dt>
						<dd>Needs to return the name of the Signature Method (ie HMAC-SHA1)</dd>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../default/OAuthSignatureMethod.html">OAuthSignatureMethod</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../default/OAuthSignatureMethod.html#methodbuild_signature">OAuthSignatureMethod::build_signature()</a></span><br>
													<span class="method-name"><a href="../default/OAuthSignatureMethod.html#methodcheck_signature">OAuthSignatureMethod::check_signature()</a></span><br>
													<span class="method-name"><a href="../default/OAuthSignatureMethod.html#methodget_name">OAuthSignatureMethod::get_name()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>